package com.stranger.common.dao;

import java.sql.SQLException;


import com.stranger.common.util.Pager;

public interface IBaseDAO {

	/* (non-Javadoc)
	 * @see com.stranger.common.dao.impl.IBaseDAO#initDao()
	 */
	public abstract void initDao();

	public abstract Object insert(String nameSpace, Object object) throws SQLException;

	public abstract int deleteByPK(String nameSpace,String PK) throws SQLException;

	public abstract void update(String nameSpace,Object object) throws SQLException;

	public abstract Object load(String nameSpace,String Pk) throws SQLException;


	public abstract Pager findList(String nameSpace,Object object) throws SQLException;

}